package app.biz.model;

import com.alibaba.fastjson.JSONObject;
import com.jfinal.kit.JsonKit;

/**
 * Created by gulx@neusoft.com on 2018/12/5.
 */
public class LogObject {
    private long sid;
    private JSONObject content;

    public long getSid() {
        return sid;
    }

    public JSONObject getContent() {
        return content;
    }

    public LogObject(long sid, EcgRequest ecgObject){
        this.sid = sid;
        this.content = JSONObject.parseObject(JsonKit.toJson(ecgObject));
    }

}
